TimeFrame Composite Control Properties Interface |
|
The TimeFrame Composite Control Properties Interface helps in configuring properties of the composite control.
Table 1. Fields on the Properties Interface of TimeFrame Composite Control
Field Name |
Description |
---|---|
Static check box |
Select to render the TimeFrame composite control with static time frame UI at run-time. The Start Time and End Time fields appear under the Static Time Frame section on selecting the Static check box. |
Static Time Frame > Start Time |
Click , next to Start Time to select the start date to fetch data. |
Static Time Frame > End Time |
Click , next to End Time to select the end date to fetch data. |
Rolling Time Frame > Period |
Enter the time period in the text box next to Range to get data from a repeating time period of a specific length that moves continuously, which can be hour, day, week, or month. |
Rolling Time Frame > Range |
Select the duration in the range of Hour(s), or Day(s), or Week(s), or Month(s). |
Table 2. Events for the TimeFrame Composite Control
Event |
Description |
---|---|
ondataclick |
Fires when clicked on a data point on the chart. The following example describes its functionality. function Form_InitDone(eventObject) { <timeframeid>.addListener(ondataclicklistenerFn); } function ondataclicklistenerFn(eventObject) { //eventObject.businessObject will give the businessobject as a JSON object for the clicked datapoint }
|